package org.ranshiyan.pojo;

import java.math.BigDecimal;

public class Student {
    private Integer id;
    private String name;
    private Integer teacherId;
    private String className;
    private String classname;
    private Teacher teacher;

    private BigDecimal amout;
    public Integer getId() {
        return id;
    }

    public Student setId(Integer id) {
        this.id = id;
        return this;
    }

    public String getName() {
        return name;
    }

    public Student setName(String name) {
        this.name = name;
        return this;
    }

    public Integer getTeacherId() {
        return teacherId;
    }

    public Student setTeacherId(Integer teacherId) {
        this.teacherId = teacherId;
        return this;
    }

    public String getClassName() {
        return className;
    }

    public Student setClassName(String className) {
        this.className = className;
        return this;
    }

    public Teacher getTeacher() {
        return teacher;
    }

    public Student setTeacher(Teacher teacher) {
        this.teacher = teacher;
        return this;
    }

    public String getClassname() {
        return classname;
    }

    public Student setClassname(String classname) {
        this.classname = classname;
        return this;
    }

    public BigDecimal getAmout() {
        return amout;
    }

    public Student setAmout(BigDecimal amout) {
        this.amout = amout;
        return this;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", teacherId=" + teacherId +
                ", className='" + className + '\'' +
                ", teacher=" + teacher +
                '}';
    }
}
